package com.zretc.entity;
/**
 * 评论表
 * @author yejingbin
 *
 */
public class Comment {
	private Integer commentId;        //评论Id
	private String commentContent;    //评论内容
	private String commentTime;		  //评论时间
	private Account account;	      //用户对象(外键)
	private Integer songId;			  //歌曲Id(外键)

	public Comment() {
		super();
	}
	
	public Comment(Integer commentId, String commentContent, String commentTime, Account account, Integer songId) {
		super();
		this.commentId = commentId;
		this.commentContent = commentContent;
		this.commentTime = commentTime;
		this.account = account;
		this.songId = songId;
	}

	public Integer getCommentId() {
		return commentId;
	}

	public void setCommentId(Integer commentId) {
		this.commentId = commentId;
	}

	public String getCommentContent() {
		return commentContent;
	}

	public void setCommentContent(String commentContent) {
		this.commentContent = commentContent;
	}

	public String getCommentTime() {
		return commentTime;
	}

	public void setCommentTime(String commentTime) {
		this.commentTime = commentTime;
	}

	public Integer getSongId() {
		return songId;
	}

	public void setSongId(Integer songId) {
		this.songId = songId;
	}

	public Account getAccount() {
		return account;
	}

	public void setAccount(Account account) {
		this.account = account;
	}

	@Override
	public String toString() {
		return "Comment [commentId=" + commentId + ", commentContent=" + commentContent + ", commentTime=" + commentTime
				+ ", account=" + account + ", songId=" + songId + "]";
	}
	
}
